<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>语音博客管理中心</title>
		<link rel="stylesheet" type="text/css" href="css/admin.css" />
		<link type="text/css" rel="Stylesheet" href="css/main.css" />
		<link type="text/css" rel="Stylesheet" href="style/style1.css" />
		<script src="./javascript/leftMenu.js" type="text/javascript"></script>
		<script type="text/javascript">
	   		function setFrameSrc(ahref){
	   			var iframe = document.getElementById("contentFrame");
	   			var href = ahref.getAttribute("href");
	   			var text = ahref.getAttribute("title");
	   			alert(text);
	   			var topTag = document.getElementById("topTag");
	   			topTag.firstChild.nodeValue = text;
	   			iframe.setAttribute("src", "listStudentAction.action");
	   		
	   		
	   		}
   		</script>
		<script type="text/javascript">
			// <![CDATA[
				var myMenu;
				window.onload = function() {
					myMenu = new SDMenu("my_menu");
					myMenu.init();
					var firstSubmenu = myMenu.submenus[0];
					myMenu.expandMenu(firstSubmenu);
					
				};
			// ]]>
		</script>
		<style type="text/css">
.blogName1 {
	FILTER: shadow(color =     green);
	COLOR: white;
	LINE-HEIGHT: 150%;
	FONT-FAMILY: 华文彩云;
	font-size: 30px
}

.blogName2 {
	FONT-SIZE: 20pt;
	FILTER: shadow(color =     #DA70D6);
	COLOR: white;
	LINE-HEIGHT: 150%;
	FONT-FAMILY: 方正舒体
}
</style>
	</head>
	<body style="margin-top: 0px;">
		<div align="center">

			<div id="top">
				<form method="post" action="search.action" class="topForm">
					<div align="right">
						<input name="searchString" type="text" />
						<select name="searchWhat">
							<option value="0">
								博文
							</option>
							<option value="1">
								博主
							</option>
						</select>
						<input class="button"
							onmouseover="this.className='buttonMouseOver'"
							onmouseout="this.className='button'" type="submit" value="搜索" />

						<c:if test="${blogUser.account==user.account}">
							<a href="browseMessage.action">信息</a>
							<a href="quit.jsp">退出</a>
						</c:if>
						<a href="index.jsp">博客中心</a>
					</div>
				</form>

				<div class="topPic"
					onclick='if(this.className=="topPic")this.className="topPic2";else{this.className="topPic";}'>
					<div id="topBlogName">
						<span class="blogName1">${user.blogName }</span><span
							class="blogName2">的博客</span>
					</div>

				</div>



				<div id="menu">
					<ul class="navigation" id="ulAdmin" runat="server" visible="false"
						style="padding-left: 100px">
						<li onmouseover="displaySubMenu(this)"
							onmouseout="hideSubMenu(this)">
							<a href="browseUser.action?account=${user.account}"> 首页</a>

						</li>
						<li onmouseover="displaySubMenu(this)"
							onmouseout="hideSubMenu(this)">
							<a href="/blog/listBlog.action">日志</a>

						</li>
						<li onmouseover="displaySubMenu(this)"
							onmouseout="hideSubMenu(this)">
							<a href="/blog/listAlbums.action">相册</a>

						</li>
						<li onmouseover="displaySubMenu(this)"
							onmouseout="hideSubMenu(this)">
							<a href="listFriend.action">博友</a>

						</li>
						<li onmouseover="displaySubMenu(this)"
							onmouseout="hideSubMenu(this)">
							<a href="personInfo.action"> 个人资料 </a>

						</li>
					</ul>
				</div>
			</div>
			<div id="admintop">
				<h2>
					管理菜单
				</h2>
				<div class=jg></div>
				<div id="topTags">
					<p id="topTag"></p>
				</div>
			</div>
			<div id="main">

				<div id="my_menu" class="sdmenu">


					<div>
						
						<a href="listUsers.action" title="查看用户" target="contentFrame">查看用户</a>


					</div>
					<div>
					
						<a href="listAllBlog.action" target="contentFrame">博文管理</a>


					</div>

					<div>
						
						<a href="listAllAlbum.action" title="相册管理" target="contentFrame">相册管理</a>

					</div>
						<div>
					
						<a href="authorityManager.action" title="添加管理员" target="contentFrame">添加管理员</a>

					</div>

				</div>
				<div class=jg></div>

				<div id="content">
					<iframe name="contentFrame" id="contentFrame" frameborder="0"
						scrolling="no"></iframe>
				</div>

			</div>

		</div>
		<div class="adminBottom">
			<div class="adminbottom"><%@include file="bottom.jsp"%></div>
		</div>

	</body>
</html>
